<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- QtnRibbonGallery.qdoc -->
  <title>Qt QtitanRibbon 3.1: RibbonGalleryGroup Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/style.css" />
  <script src="scripts/jquery.js" type="text/javascript"></script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <script src="./scripts/superfish.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/superfish.css" />  <script src="./scripts/narrow.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/narrow.css" />
  <!--[if IE]>
<meta name="MSSmartTagsPreventParsing" content="true">
<meta http-equiv="imagetoolbar" content="no">
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
<![endif]-->
</head>
<body class="" onload="CheckEmptyAndLoadList();">
 <div class="header" id="qtdocheader">
    <div class="content"> 
    <div id="nav-logo">
      <a href="index.html">Home</a></div>
		<div id="narrowsearch"><form onsubmit="return false;" action="" id="qtdocsearch">
		<fieldset>
		<input type="text" value="" id="pageType2" name="searchstring"/>
		 </fieldset>
		</form></div>
    <div id="nav-topright">
      <ul>
      </ul>
    </div>
    <div id="shortCut">
      <ul>
        <li class="shortCut-topleft-inactive"><span><a href="index.html">Home</a></span></li>
        <li class="shortCut-topleft-inactive"><span><a href="classes.html">All&nbsp;Classes</a></span></li>
        <li class="shortCut-topleft-inactive"><span><a href="overviews.html">Overviews</a></span></li>
      </ul>
</div> <ul class="sf-menu sf-js-enabled sf-shadow" id="narrowmenu"> 
		 <li><a href="#">API Lookup</a> 
			 <ul id="topmenuLook"> 
			   <li><a href="qtitan.html">Qtitan Namespace</a></li> 
			   <li><a href="classes.html">Class index</a></li> 
 			  <li><a href="qtitan.html#functions">Function index</a></li> 
			   </ul> 
		 </li> 
 </ul> 
    </div>
  </div>
  <div class="wrapper">
    <div class="hd">
      <span></span>
    </div>
    <div class="bd group">
      <div class="sidebar">
        <div class="searchlabel">
          Search index:</div>
        <div class="search">
          <form id="qtdocsearch" action="" onsubmit="return false;">
            <fieldset>
              <input type="text" name="searchstring" id="pageType" value="" />
            </fieldset>
          </form>
        </div>
        <div class="box first bottombar" id="lookup">
          <h2 title="API Lookup"><span></span>
            API Lookup</h2>
          <div  id="list001" class="list">
          <ul id="ul001" >
              <li class="defaultLink"><a href="qtitan.html">Qtitan Namespace</a></li>
              <li class="defaultLink"><a href="classes.html">Class index</a></li>
              <li class="defaultLink"><a href="qtitan.html#functions">Function index</a></li>
            </ul> 
          </div>
        </div>
      </div>
      <div class="wrap">
        <div class="toolbar">
          <div class="breadcrumb toolblock">
            <ul>
              <li class="first"><a href="index.html">Home</a></li>
              <!--  Bread crumbs goes here -->
              <li><a href="modules.html">Modules</a></li>              <li>QtitanRibbon</li>
              <li>RibbonGalleryGroup</li>
            </ul>
          </div>
          <div class="toolbuttons toolblock">
            <ul>
              <li id="smallA" class="t_button">A</li>
              <li id="medA" class="t_button active">A</li>
              <li id="bigA" class="t_button">A</li>
              <li id="print" class="t_button"><a href="javascript:this.print();">
                <span>Print</span></a></li>
            </ul>
          </div>
        </div>
        <div class="content">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#static-public-members">Static Public Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">RibbonGalleryGroup Class Reference</h1>
<span class="small-subtitle">(Qtitan::RibbonGalleryGroup)<br/></span>
<!-- $$$RibbonGalleryGroup-brief -->
<p>Class RibbonGalleryGroup is a container for the <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a>. <a href="#details">More...</a></p>
<!-- @@@RibbonGalleryGroup -->
<p>Inherits <a href="http://qt.nokia.com/doc/4.7/qobject.html">QObject</a>.</p>
<ul>
<li><a href="qtitan-ribbongallerygroup-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#RibbonGalleryGroup">RibbonGalleryGroup</a></b> ( QObject * <i>parent</i> = Q_NULL )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#dtor.RibbonGalleryGroup">~RibbonGalleryGroup</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> RibbonGalleryItem * </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#addItem">addItem</a></b> ( const QString &amp; <i>caption</i>, const QPixmap &amp; <i>pixmap</i> = QPixmap(), const QColor &amp; <i>transparentColor</i> = QColor() )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> RibbonGalleryItem * </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#addItemFromMap">addItemFromMap</a></b> ( const QString &amp; <i>caption</i>, int <i>mapIndex</i>, const QPixmap &amp; <i>map</i>, const QSize &amp; <i>mapItemSize</i>, const QColor &amp; <i>clrTransparent</i> = QColor() )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> RibbonGalleryItem * </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#addSeparator">addSeparator</a></b> ( const QString &amp; <i>caption</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#appendItem">appendItem</a></b> ( RibbonGalleryItem * <i>item</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#clear">clear</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> RibbonGalleryItem * </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#getItem">getItem</a></b> ( int <i>index</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#getItemCount">getItemCount</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSize </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#getSize">getSize</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#insertItem">insertItem</a></b> ( int <i>index</i>, RibbonGalleryItem * <i>item</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#remove">remove</a></b> ( int <i>index</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#setClipItems">setClipItems</a></b> ( bool <i>clipItems</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#setSize">setSize</a></b> ( const QSize &amp; <i>size</i> )</td></tr>
</table>
<ul>
<li class="fn">29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="static-public-members"></a>
<h2>Static Public Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> RibbonGalleryGroup * </td><td class="memItemRight bottomAlign"><b><a href="qtitan-ribbongallerygroup.html#createGalleryGroup">createGalleryGroup</a></b> ()</td></tr>
</table>
<ul>
<li class="fn">4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
<li class="fn">1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li class="fn">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$RibbonGalleryGroup-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>Class RibbonGalleryGroup is a container for the <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a>.</p>
</div>
<!-- @@@RibbonGalleryGroup -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$RibbonGalleryGroup[overload1]$$$RibbonGalleryGroupQObject* -->
<h3 class="fn"><a name="RibbonGalleryGroup"></a>RibbonGalleryGroup::RibbonGalleryGroup ( <a href="http://qt.nokia.com/doc/4.7/qobject.html">QObject</a> * <i>parent</i> = Q_NULL )</h3>
<p>Constructs <a href="qtitan-ribbongallerygroup.html">RibbonGalleryGroup</a> object with the given <i>parent</i>.</p>
<!-- @@@RibbonGalleryGroup -->
<!-- $$$~RibbonGalleryGroup[overload1]$$$~RibbonGalleryGroup -->
<h3 class="fn"><a name="dtor.RibbonGalleryGroup"></a>RibbonGalleryGroup::~RibbonGalleryGroup ()<tt> [virtual]</tt></h3>
<p>Destructor of the <a href="qtitan-ribbongallerygroup.html">RibbonGalleryGroup</a> object.</p>
<!-- @@@~RibbonGalleryGroup -->
<!-- $$$addItem[overload1]$$$addItemconstQString&constQPixmap&constQColor& -->
<h3 class="fn"><a name="addItem"></a><a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * RibbonGalleryGroup::addItem ( const <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a> &amp; <i>caption</i>, const <a href="http://qt.nokia.com/doc/4.7/qpixmap.html">QPixmap</a> &amp; <i>pixmap</i> = QPixmap(), const <a href="http://qt.nokia.com/doc/4.7/qcolor.html">QColor</a> &amp; <i>transparentColor</i> = QColor() )</h3>
<p>Creates and adds new item to the gallery with <i>caption</i>, <i>pixmap</i>. Additionaly it is possible to specify transparent color <i>transparentColor</i> in the <i>pixmap</i>.</p>
<!-- @@@addItem -->
<!-- $$$addItemFromMap[overload1]$$$addItemFromMapconstQString&intconstQPixmap&constQSize&constQColor& -->
<h3 class="fn"><a name="addItemFromMap"></a><a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * RibbonGalleryGroup::addItemFromMap ( const <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a> &amp; <i>caption</i>, int <i>mapIndex</i>, const <a href="http://qt.nokia.com/doc/4.7/qpixmap.html">QPixmap</a> &amp; <i>map</i>, const <a href="http://qt.nokia.com/doc/4.7/qsize.html">QSize</a> &amp; <i>mapItemSize</i>, const <a href="http://qt.nokia.com/doc/4.7/qcolor.html">QColor</a> &amp; <i>clrTransparent</i> = QColor() )</h3>
<p>Creates and adds new item to the gallery with <i>caption</i> and pixmap from pixmap <i>map</i>. Parameter <i>mapIndex</i> is a index in the map. Parameter <i>mapItemSize</i> is a size of the one item in the map. Additionaly it is possible to specify transparent color <i>transparentColor</i> in the pixmap.</p>
<!-- @@@addItemFromMap -->
<!-- $$$addSeparator[overload1]$$$addSeparatorconstQString& -->
<h3 class="fn"><a name="addSeparator"></a><a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * RibbonGalleryGroup::addSeparator ( const <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a> &amp; <i>caption</i> )</h3>
<p>Adds separator to the group with given <i>caption</i> and returns reference to them.</p>
<!-- @@@addSeparator -->
<!-- $$$appendItem[overload1]$$$appendItemRibbonGalleryItem* -->
<h3 class="fn"><a name="appendItem"></a>void RibbonGalleryGroup::appendItem ( <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * <i>item</i> )</h3>
<p>Adds existing <i>item</i> to the gallery. Note: <a href="qtitan-ribbongallerygroup.html">RibbonGalleryGroup</a> object is assigned as a owner for the item.</p>
<!-- @@@appendItem -->
<!-- $$$clear[overload1]$$$clear -->
<h3 class="fn"><a name="clear"></a>void RibbonGalleryGroup::clear ()</h3>
<p>Clear the collection the item.</p>
<!-- @@@clear -->
<!-- $$$createGalleryGroup[overload1]$$$createGalleryGroup -->
<h3 class="fn"><a name="createGalleryGroup"></a>RibbonGalleryGroup * RibbonGalleryGroup::createGalleryGroup ()<tt> [static]</tt></h3>
<p>Creates a new instance of the <a href="qtitan-ribbongallerygroup.html">RibbonGalleryGroup</a>, and returns the reference to it.</p>
<!-- @@@createGalleryGroup -->
<!-- $$$getItem[overload1]$$$getItemint -->
<h3 class="fn"><a name="getItem"></a><a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * RibbonGalleryGroup::getItem ( int <i>index</i> ) const</h3>
<p>Returns reference to the <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> by the given <i>index</i>.</p>
<!-- @@@getItem -->
<!-- $$$getItemCount[overload1]$$$getItemCount -->
<h3 class="fn"><a name="getItemCount"></a>int RibbonGalleryGroup::getItemCount () const</h3>
<p>Returns the count of the items.</p>
<!-- @@@getItemCount -->
<!-- $$$getSize[overload1]$$$getSize -->
<h3 class="fn"><a name="getSize"></a><a href="http://qt.nokia.com/doc/4.7/qsize.html">QSize</a> RibbonGalleryGroup::getSize () const</h3>
<p>Returns size of the group.</p>
<!-- @@@getSize -->
<!-- $$$insertItem[overload1]$$$insertItemintRibbonGalleryItem* -->
<h3 class="fn"><a name="insertItem"></a>void RibbonGalleryGroup::insertItem ( int <i>index</i>, <a href="qtitan-ribbongalleryitem.html">RibbonGalleryItem</a> * <i>item</i> )</h3>
<p>Inserts existing <i>item</i> to the gallery in pos <i>index</i>. Note: <a href="qtitan-ribbongallerygroup.html">RibbonGalleryGroup</a> object is assigned as a owner for the item.</p>
<!-- @@@insertItem -->
<!-- $$$remove[overload1]$$$removeint -->
<h3 class="fn"><a name="remove"></a>void RibbonGalleryGroup::remove ( int <i>index</i> )</h3>
<p>Removes the item from the gallery by given index.</p>
<!-- @@@remove -->
<!-- $$$setClipItems[overload1]$$$setClipItemsbool -->
<h3 class="fn"><a name="setClipItems"></a>void RibbonGalleryGroup::setClipItems ( bool <i>clipItems</i> )</h3>
<p>Sets clipping items if selection was changed. Paramter <i>clipItems</i> - true to enable clipping or false to disable. By default clipping is enabled.</p>
<!-- @@@setClipItems -->
<!-- $$$setSize[overload1]$$$setSizeconstQSize& -->
<h3 class="fn"><a name="setSize"></a>void RibbonGalleryGroup::setSize ( const <a href="http://qt.nokia.com/doc/4.7/qsize.html">QSize</a> &amp; <i>size</i> )</h3>
<p>Sets <i>size</i> of the group.</p>
<!-- @@@setSize -->
</div>
        <!-- /div -->
        <div class="feedback t_button">
          </div>
      </div>
    </div>
    <div class="ft">
      <span></span>
    </div>
  </div> 
  <div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2009-2013 Developer Machines<br><br>      Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
      in Finland and/or other countries worldwide.</p>
    <p>
      All other trademarks are property of their respective owners. <a title="Privacy Policy"
        href="http://www.devmachines.com/company/privacy-policy.html">Privacy Policy</a></p>
  </div>
  <div id="blurpage">
  </div>
  <!--/div -->
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17002018-1']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17002018-1']);
  _gaq.push(['_trackPageview']);
  (function() {
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  </script>
</body>
</html>
